#ifndef BITREADER_H_
#define BITREADER_H_

#include <bitset>

class BitReader {
private:
        int currentPos;
        std::bitset<32> bits;

public:
        BitReader(long value = 0, int currentPos = 0);
        BitReader(char* value, int currentPos);

        bool getBit();
        long getValue();

        virtual ~BitReader();
};

#endif /* BITREADER_H_ */
